import request from '@/utils/request'
import jsonData from '@/data/setting_data.json';

// api地址
const api = {
  data: 'setting/data',
  loadAppPage: '/app/appPage/data'
}

// 设置项详情
export function data() {
  // return request.get(api.data)
   return new Promise((resolve, reject) => {
        resolve(jsonData)
    })
}
// 加载app页面
export function loadAppPage() {
  return request.get(api.loadAppPage)
}